<?php

	/**
	 * we could write a whole oop interface/function stack thing.. but what we have works.. so we will leave it
	 * 
	 *
	 */
	class FTAFormMailer extends FTAObject {
		function FTAFormMailer(){
			parent::FTAObject();
		}
	}
	
	
	
	/**
	 * Gets the fta obejct.. these are singletons really..
	 *
	 * @return FTAWebPage
	 */
	function &fta_getSharedFormMailerObject(){

		global $fta_;

		global $FTAFormMailerClass;
		
		if(!is_null($FTAFormMailerClass) && "FTAFormMailer" != $FTAFormMailerClass){
	// we need to assume that these have already been included if we want to use them			
	//			fta_moduleListMapAndInclude($FTALinksClass);
		} else {
			$FTAFormMailerClass = "FTAFormMailer";
		}
			
		if (!array_key_exists('ftaFormMailer',$fta_)){
			$fta_->ftaFormMailer = new  $FTAFormMailerClass();
		}
		return $fta_->ftaFormMailer;
	}